
<div id="content-header">
  <span class="path"><?php echo $contentPath; ?></span>
  <span class="user">
      <a id="user_name" title="Aanmelden" href="#" onclick="loginDialog();"><?php echo ($logged_in==true) ? $user_name : "Aanmelden"; ?></a>
      <span id="user_logout" style="display :<?php echo ($logged_in==false) ? "none" : "inline"; ?>" >
        &nbsp;<a title="Afmelden" href="#" onclick="logoutDialog();">(Afmelden)</a>
      </span>
  </span>
</div>

<div style="clear: both;"></div>

<div id="login_dialog" title="Aanmelden bij Red Je Zaterdag">
    <form id="login_dialog_form" action="00_ajax_handle_login_dialog_submit.php" method="post">
      <div class="blok">
        <span>Vul hier je e-mail adres in:</span><br />
        <input type="text" name="email" value="<?php echo $email;?>" title="E-mail" style="width: 250px" maxlength="100" />
        <input type="text" name="name1" value="<?php echo $name1;?>" title="Voornaam" style="width: 250px" maxlength="80" /><br />
        <input type="hidden" name="name2" value="<?php echo $name2;?>" title="Achternaam" style="width: 250px" /><br />
        <input type="radio" name="gender" value="M" id="man" <?php if ($gender=='M') { echo "checked=ckecked"; } ?> /><label for="man">Man&nbsp;</label>
        &nbsp;&nbsp;
        <input type="radio" name="gender" value="V" id="vrouw" <?php if ($gender=='V') { echo "checked=ckecked"; } ?> /><label for="vrouw">Vrouw&nbsp;</label>
      </div>
      <hr>
      
      <p class="links">
        <a class="okay button" href="#" id="login_dialog_submit">Aanmelden</a>&nbsp;&nbsp;<a class="cancel" id="login_dialog_cancel" href="#">Annuleren</a>
      </p>
      
      <div class="error_output"></div>
    </form>
</div>  

<div id="logout_dialog" title="Afmelden bij Red Je Zaterdag">
    <form id="logout_dialog_form" action="00_ajax_handle_logout_dialog_submit.php" method="post">
      <p class="links">
        <a class="okay button" href="#" id="logout_dialog_submit">Afmelden</a>&nbsp;&nbsp;<a class="cancel" id="logout_dialog_cancel" href="#">Annuleren</a>
      </p>
    </form>      
</div>

